figure
chart = confusionchart(cmat,classes);
acc = sum(diag(cmat))./sum(cmat,"all")
